package com.fph.design.service;

import java.util.concurrent.TimeUnit;

/**
 * @InterfaceName CacheService
 * @Description TODO
 * @Author fph
 * @Date 2024-07-09 17:33
 **/
public interface CacheService {
    void del(String key, Integer redisType );
    String get(String key, Integer redisType );
    void set(String key, String value, Integer redisType );
    void set(String key, String value, long timeout, TimeUnit timeUnit, Integer redisType );
}
